package com.example.springbootdemo2.pojo.db1;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.sql.rowset.spi.SyncResolver;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
//对象序列化需要继承Serializable
public class User implements Serializable {
    private  int id;
    private String username;
    private String password;
    private String phone;
    private Date createTime;
    private Date updateTime;
}
